package ar.uba.fi.RSACryptoFiuba.model;

import java.util.Observable;

public abstract class RSAMessage extends Observable{
	
	private String elementToEvaluate;

	public abstract boolean isCompleted();
	
	public abstract boolean isStarted();

	public String getElementToEvaluate() {
		return elementToEvaluate;
	}

	public void setElementToEvaluate(String elementToEvaluate) {
		this.elementToEvaluate = elementToEvaluate;
	}
	
	public void update(){
		this.setChanged();
		this.notifyObservers(this);
	}
}
